package com.dao;

import com.bo.User;

public interface UserDao {

	public User insert(User user) throws Exception;
	public User update(User user) throws Exception;
	public void delete(User user) throws Exception;
	public User getUserByEmail(String email, String pwd) throws Exception;
	public boolean userExistByEmail(String email) throws Exception;
	boolean userExistByName(String userName) throws Exception;
	public User getUserByEmail(String email) throws Exception;
	
}
